package com.edu.internship.busi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * code is far away from bug with the animal protecting
 *
 * @author longjihao
 * @description <p>查询消费信息 的DTO</p>
 * @date 2020-08-13
 */
@Data
@Accessors(chain = true)
@ApiModel
public class CardStudentVO {

    @ApiModelProperty("卡号")
    private String cardNo;
    @ApiModelProperty("学生编号")
    private String studentId;
    @ApiModelProperty("消费金额")
    private BigDecimal cost;
    @ApiModelProperty("卡余额")
    private BigDecimal remainder;
    @ApiModelProperty("消费时间")
    private LocalDateTime costTime;
    @ApiModelProperty("入库时间")
    private LocalDateTime inTime;
    @ApiModelProperty("消费地点")
    private String type;

    @ApiModelProperty("学生名")
    private String studentName;
    @ApiModelProperty("班级id")
    private String classId;
}
